<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table align="center" width="80%" border="1">
        <tr>
            <td>图片</td>
            <td>名称</td>
            <td>价格</td>
            <td>描述</td>
            <td>修改</td>
        </tr>
        <tr th:each="f:${list}">
            <td th:text="*{f.pic}">图片</td>
            <td th:text="${f.title}">名称</td>
            <td th:text="*{f.price}">价格</td>
            <td th:text="*{f.content}">描述</td>
            <td><a th:href="|food-update1?id=${f.id}|" />修改</td>
        </tr>
    </table>
</body>
</html>